Optimal. Leaf size=18 \[ \frac{1}{f \sqrt{a \cos ^2(e+f x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0645136, antiderivative size = 18, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167, Rules used = {3176, 3205, 16, 32} \[ \frac{1}{f \sqrt{a \cos ^2(e+f x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3176
Rule 3205
Rule 16
Rule 32
Rubi steps
\begin{align*} \int \frac{\tan (e+f x)}{\sqrt{a-a \sin ^2(e+f x)}} \, dx &=\int \frac{\tan (e+f x)}{\sqrt{a \cos ^2(e+f x)}} \, dx\\ &=-\frac{\operatorname{Subst}\left (\int \frac{1}{x \sqrt{a x}} \, dx,x,\cos ^2(e+f x)\right )}{2 f}\\ &=-\frac{a \operatorname{Subst}\left (\int \frac{1}{(a x)^{3/2}} \, dx,x,\cos ^2(e+f x)\right )}{2 f}\\ &=\frac{1}{f \sqrt{a \cos ^2(e+f x)}}\\ \end{align*}
Mathematica [A] time = 0.0265371, size = 18, normalized size = 1. \[ \frac{1}{f \sqrt{a \cos ^2(e+f x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.148, size = 20, normalized size = 1.1 \begin{align*}{\frac{1}{f}{\frac{1}{\sqrt{a-a \left ( \sin \left ( fx+e \right ) \right ) ^{2}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.5705, size = 61, normalized size = 3.39 \begin{align*} \frac{\sqrt{a \cos \left (f x + e\right )^{2}}}{a f \cos \left (f x + e\right )^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\tan{\left (e + f x \right )}}{\sqrt{- a \left (\sin{\left (e + f x \right )} - 1\right ) \left (\sin{\left (e + f x \right )} + 1\right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.21751, size = 55, normalized size = 3.06 \begin{align*} \frac{2}{{\left (\tan \left (\frac{1}{2} \, f x + \frac{1}{2} \, e\right )^{2} - 1\right )} \sqrt{a} f \mathrm{sgn}\left (\tan \left (\frac{1}{2} \, f x + \frac{1}{2} \, e\right )^{4} - 1\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]